package MyLinkedList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: tao
 * Date: 2023-12-31
 * Time: 13:23
 */
public class test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        //myLinkedList.createList();
        //myLinkedList.display();
        //System.out.println(myLinkedList.size());
        myLinkedList.addLast(22);
        myLinkedList.addLast(22);
        myLinkedList.addLast(22);
        myLinkedList.addLast(22);
        myLinkedList.addLast(22);
        myLinkedList.display();
        System.out.println("===============");
        myLinkedList.clear();
        myLinkedList.display();
//        myLinkedList.remove(22);
//        myLinkedList.display();
        //myLinkedList.removeAllKey(22);
        //myLinkedList.display();
    }
}
